package com.logistic.service;

import java.util.List;

import com.logistic.domain.Waybill;
import com.logistic.page.QueryResult;

public interface WaybillService {
	
	@SuppressWarnings("rawtypes")
	List findRecordAll(String sort);
	
	String save(Waybill wb);
	
	void modify(Waybill wb);
	
	void modifyByManager(Waybill wb);
	
	void deleteWaybillById(String idStr);
	
	public Waybill getWaybillById(Waybill wb);
	
	//最初始的是用来根据ups查找是否重复
	public List searchWaybill(Waybill wb);
	
	public List getWayillByUid(Waybill wb);
	
	public List findWaybillByUidAndStatus(Waybill wb);
	
	public List findEnterWaybillNum(String Uid);
	
	public List searchWaybillForecast(Waybill wb);
	
	public List searchByInput(Waybill wb);
	
	public QueryResult findWaybillsByStatus(String wbArea,String status,int first,int max);
	
	public List findWaybillsByStatusWithoutPage(Waybill wb);
	
	public QueryResult findCurrentWaybillByUid(String Uid,int first,int max);
	
	public QueryResult findHistoryWaybillByUid(String Uid,int first,int max);
}
